package com.fingard.dsp.bank.reqrespobj.billpool;

import com.fingard.dsp.bank.reqrespobj.ReqRespHeader;
import com.fingard.dsp.bank.reqrespobj.RetAtsBase;
import com.fingard.xml.XmlTextWriter;

public class RetAtsB318FinancingApplyQry extends RetAtsBase {

    //执行状态码 0标识成功,其他均为失败
    public String respCode = "";
    //执行结果描述信息
    public String respInfo = "";
    //申请流水号
    public String reqSeqID = "";
    //交易信息码
    public String payInfoCode = "";
    //交易结果码
    public String transState = "";
    //上传共享目录路径
    public String filePath = "";
    //批次状态
    public String batchState="";

    public RetAtsB318FinancingApplyQry(ReqRespHeader p_header) {
        retHeader = p_header;
        retXmlWriter = new XmlTextWriter();//用于输出返回ATS的XML报文
    }

    public void writeAfter() {
        retXmlWriter.writeStartElement("DetailRecord");

        retXmlWriter.writeElementString("RespCode", this.respCode);
        retXmlWriter.writeElementString("RespInfo", this.respInfo);
        retXmlWriter.writeElementString("ReqSeqID", this.reqSeqID);
        retXmlWriter.writeElementString("PayInfoCode", this.payInfoCode);
        retXmlWriter.writeElementString("TransState", this.transState);
        retXmlWriter.writeElementString("FilePath", this.filePath);
        retXmlWriter.writeElementString("BatchState",this.batchState);

        retXmlWriter.writeEndDocument();
    }

}
